package com.ghh.consumer.feign;

import com.ghh.consumer.domain.Goods;
import org.springframework.stereotype.Component;

@Component
public class GoodsFeignClientFallback implements  GoodsFeignClient {
    @Override
    public Goods findGoodsById(int id) {
        Goods goods = new Goods();
        goods.setTitle("又被降级了~~~");
        return goods;
    }
}
